3.32.31 \(\int \frac {(a+b x)^m (c+d x)^{2-m}}{(e+f x)^5} \, dx\) [3131]

Optimal. Leaf size=176 \[ -\frac {f (a+b x)^{1+m} (c+d x)^{3-m}}{4 (b e-a f) (d e-c f) (e+f x)^4}+\frac {(b c-a d)^3 (b (4 d e-c f (3-m))-a d f (1+m)) (a+b x)^{1+m} (c+d x)^{-1-m} \, _2F_1\left (4,1+m;2+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{4 (b e-a f)^5 (d e-c f) (1+m)} \]

[Out]

-1/4*f*(b*x+a)^(1+m)*(d*x+c)^(3-m)/(-a*f+b*e)/(-c*f+d*e)/(f*x+e)^4+1/4*(-a*d+b*c)^3*(b*(4*d*e-c*f*(3-m))-a*d*f
*(1+m))*(b*x+a)^(1+m)*(d*x+c)^(-1-m)*hypergeom([4, 1+m],[2+m],(-c*f+d*e)*(b*x+a)/(-a*f+b*e)/(d*x+c))/(-a*f+b*e
)^5/(-c*f+d*e)/(1+m)

________________________________________________________________________________________

Rubi [A]
time = 0.05, antiderivative size = 175, normalized size of antiderivative = 0.99, number of steps used = 2, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {98, 133} \begin {gather*} \frac {(b c-a d)^3 (a+b x)^{m+1} (c+d x)^{-m-1} (-a d f (m+1)-b c f (3-m)+4 b d e) \, _2F_1\left (4,m+1;m+2;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{4 (m+1) (b e-a f)^5 (d e-c f)}-\frac {f (a+b x)^{m+1} (c+d x)^{3-m}}{4 (e+f x)^4 (b e-a f) (d e-c f)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((a + b*x)^m*(c + d*x)^(2 - m))/(e + f*x)^5,x]

[Out]

-1/4*(f*(a + b*x)^(1 + m)*(c + d*x)^(3 - m))/((b*e - a*f)*(d*e - c*f)*(e + f*x)^4) + ((b*c - a*d)^3*(4*b*d*e -
 b*c*f*(3 - m) - a*d*f*(1 + m))*(a + b*x)^(1 + m)*(c + d*x)^(-1 - m)*Hypergeometric2F1[4, 1 + m, 2 + m, ((d*e
- c*f)*(a + b*x))/((b*e - a*f)*(c + d*x))])/(4*(b*e - a*f)^5*(d*e - c*f)*(1 + m))

Rule 98

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Simp[b*(a +
b*x)^(m + 1)*(c + d*x)^(n + 1)*((e + f*x)^(p + 1)/((m + 1)*(b*c - a*d)*(b*e - a*f))), x] + Dist[(a*d*f*(m + 1)
 + b*c*f*(n + 1) + b*d*e*(p + 1))/((m + 1)*(b*c - a*d)*(b*e - a*f)), Int[(a + b*x)^(m + 1)*(c + d*x)^n*(e + f*
x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && EqQ[Simplify[m + n + p + 3], 0] && (LtQ[m, -1] || Sum
SimplerQ[m, 1])

Rule 133

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_), x_Symbol] :> Simp[(b*c - a
*d)^n*((a + b*x)^(m + 1)/((m + 1)*(b*e - a*f)^(n + 1)*(e + f*x)^(m + 1)))*Hypergeometric2F1[m + 1, -n, m + 2,
(-(d*e - c*f))*((a + b*x)/((b*c - a*d)*(e + f*x)))], x] /; FreeQ[{a, b, c, d, e, f, m, p}, x] && EqQ[m + n + p
 + 2, 0] && ILtQ[n, 0] && (SumSimplerQ[m, 1] ||  !SumSimplerQ[p, 1]) &&  !ILtQ[m, 0]

Rubi steps

\begin {align*} \int \frac {(a+b x)^m (c+d x)^{2-m}}{(e+f x)^5} \, dx &=-\frac {f (a+b x)^{1+m} (c+d x)^{3-m}}{4 (b e-a f) (d e-c f) (e+f x)^4}-\frac {(-4 b d e+b c f (3-m)+a d f (1+m)) \int \frac {(a+b x)^m (c+d x)^{2-m}}{(e+f x)^4} \, dx}{4 (-b e+a f) (-d e+c f)}\\ &=-\frac {f (a+b x)^{1+m} (c+d x)^{3-m}}{4 (b e-a f) (d e-c f) (e+f x)^4}+\frac {(b c-a d)^3 (4 b d e-b c f (3-m)-a d f (1+m)) (a+b x)^{1+m} (c+d x)^{-1-m} \, _2F_1\left (4,1+m;2+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{4 (b e-a f)^5 (d e-c f) (1+m)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.20, size = 148, normalized size = 0.84 \begin {gather*} \frac {(a+b x)^{1+m} (c+d x)^{-1-m} \left (-\frac {f (c+d x)^4}{(e+f x)^4}+\frac {(b c-a d)^3 (4 b d e+b c f (-3+m)-a d f (1+m)) \, _2F_1\left (4,1+m;2+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{(b e-a f)^4 (1+m)}\right )}{4 (b e-a f) (d e-c f)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((a + b*x)^m*(c + d*x)^(2 - m))/(e + f*x)^5,x]

[Out]

((a + b*x)^(1 + m)*(c + d*x)^(-1 - m)*(-((f*(c + d*x)^4)/(e + f*x)^4) + ((b*c - a*d)^3*(4*b*d*e + b*c*f*(-3 +
m) - a*d*f*(1 + m))*Hypergeometric2F1[4, 1 + m, 2 + m, ((d*e - c*f)*(a + b*x))/((b*e - a*f)*(c + d*x))])/((b*e
 - a*f)^4*(1 + m))))/(4*(b*e - a*f)*(d*e - c*f))

________________________________________________________________________________________

Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\left (b x +a \right )^{m} \left (d x +c \right )^{2-m}}{\left (f x +e \right )^{5}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)^m*(d*x+c)^(2-m)/(f*x+e)^5,x)

[Out]

int((b*x+a)^m*(d*x+c)^(2-m)/(f*x+e)^5,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^m*(d*x+c)^(2-m)/(f*x+e)^5,x, algorithm="maxima")

[Out]

integrate((b*x + a)^m*(d*x + c)^(-m + 2)/(f*x + e)^5, x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^m*(d*x+c)^(2-m)/(f*x+e)^5,x, algorithm="fricas")

[Out]

integral((b*x + a)^m*(d*x + c)^(-m + 2)/(f^5*x^5 + 5*f^4*x^4*e + 10*f^3*x^3*e^2 + 10*f^2*x^2*e^3 + 5*f*x*e^4 +
 e^5), x)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)**m*(d*x+c)**(2-m)/(f*x+e)**5,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^m*(d*x+c)^(2-m)/(f*x+e)^5,x, algorithm="giac")

[Out]

integrate((b*x + a)^m*(d*x + c)^(-m + 2)/(f*x + e)^5, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a+b\,x\right )}^m\,{\left (c+d\,x\right )}^{2-m}}{{\left (e+f\,x\right )}^5} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((a + b*x)^m*(c + d*x)^(2 - m))/(e + f*x)^5,x)

[Out]

int(((a + b*x)^m*(c + d*x)^(2 - m))/(e + f*x)^5, x)

________________________________________________________________________________________